package com.dabaozhan.modules.wx_app.entity;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 查询分页统一公共入参
 * @author fenggang(冯刚)
 *
 */
public class QueryListBaseEntity {
	
	@NotEmpty(message="userId不能为空")
	private String userId;
	
	@NotNull(message="size不能为空")
	private Integer size;
	
	@NotNull(message="page不能为空")
	private Integer page;
	
	private Integer beginIndex;
	
	private Integer endIndex;

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public Integer getSize() {
		return size;
	}

	public void setSize(Integer size) {
		this.size = size;
	}

	public Integer getPage() {
		return page;
	}

	public void setPage(Integer page) {
		this.page = page;
	}

	public Integer getBeginIndex() {
		return beginIndex;
	}

	public void setBeginIndex(Integer beginIndex) {
		this.beginIndex = beginIndex;
	}

	public Integer getEndIndex() {
		return endIndex;
	}

	public void setEndIndex(Integer endIndex) {
		this.endIndex = endIndex;
	}
}
